/* 
    Created on : Oct 31, 2014, 3:07:55 PM
    Author     : ANHTU
    Document   : Dialog
*/


.UI_Dialog{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    font-size: 16px;
    @include translateZ(105px);
    z-index:99992;
    font-family: 'helvetica',helvetica,'Roboto',Tahoma,Arial,sans-serif;
    color:#000;

    .UI_Dialog_layout,
    .UI_Dialog_content{
        position: absolute;
        background: rgba(0, 0, 0, 0.5);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

    }
    .UI_Dialog_layout{
        @include transition(.3s);
        opacity: 1;
        z-index: 1;
    }
    .UI_Dialog_content{
        z-index: 999999;
        background: none;
        margin: auto;
        width: 280px;
        height: 158px;

    }
    .modal-dialog {
        position: relative;
        width:100%;
        height:100%;
    }
    .modal-content {
        position: relative;
        background:rgba(255,255,255,.95);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        @include border-radius(6px);
        outline: 0;
        overflow: hidden;
    }

    .modal-header {
        min-height: 16.43px;
        padding: 15px 15px 0px 15px;
        text-align: center;
    }
    .modal-title {
        margin: 0;
        line-height: 1.42857143;
    }
    .modal-body {
        position: relative;
        padding: 15px;
        font-size: 14px;
        text-align: center;
    }
    .modal-footer {
        padding: 0px;
        text-align: right;
        border-top: 1px solid rgba(201,201,201,.95);

        button{
            display: block;
            padding: 12px;
            color: #0072FF;
            text-align: center;
            background: none;
            border: none;
            font-size: 16px;
            width: 100%;
        }
        button.bold{
            font-weight: bold;
        }
        button.hover{
            background:rgba(201,201,201,.3);
        }
    }
    .modal-footer:after{
        @include clearfix();
    }
    .Button_1{
        button{
            width: 100%;
        }
    }
    .Button_2{
        button{
            float: left;
            width: 50%;
        }
        button:first-child{
            border-right: 1px solid rgba(201,201,201,.95);
        }
    }
    .Button_3{
        button{
            border-right: 1px solid rgba(201,201,201,.95);
            float: left;
            width: 33.333%;
        }
        button:last-child{
            border-right:0px;
        }
    }

    .modal-scrollbar-measure {
        position: absolute;
        top: -9999px;
        width: 50px;
        height: 50px;
        overflow: scroll;
    }
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        border: 0;
    }
}

.UI_Dialog_android{
    .modal-content{
        @include border-radius(0px);
    }
    .modal-header{
        padding-top:10px;
        padding-bottom: 10px;
        color: #1AADE3;
        border-bottom: 2px solid #1AADE3;
        font-weight: normal;
        h4{
            font-weight: normal;
            font-size: 17px;
        }
    }
    .modal-footer button{
        color: #222;
    }
}

.UI_Dialog .UI_Poster{
    width: 90%;
    height: 320px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    margin: auto;
    z-index: 999;
    background:#fff;
    padding:5px;
    .Close{
        display: block;
        position: absolute;
        top: -15px;
        right: -15px;
        width: 34px;
        height: 37px;
        @include bg_image('close-ads.png');
        z-index: 999;
    }
    .Close.hover{
        opacity: .6;
    }
    .Poster_inner{
        position: relative;
        width: 100%;
        height: 100%;
        .swiper-slide{
            position: relative;
            width:288px;
            img{
                width: 100%;
                height:100%;
            }
            .join{
                bottom: 10px;
            }
        }
    }

}